package com.wxb.service.impl;

import com.wxb.domain.MallGoodsIssueEntity;
import com.wxb.mapper.MallGoodsIssueMapper;
import com.wxb.service.IMallGoodsIssueService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * @Date 2025-05-30 14:28
 * @Version 1.0
 * @Description
 * @ClassName MallGoodsIssueServiceImpl
 **/
@Service
public class MallGoodsIssueServiceImpl implements IMallGoodsIssueService {
    @Autowired
    private MallGoodsIssueMapper goodsIssueDao;


    public MallGoodsIssueEntity queryObject(Integer id) {
        return goodsIssueDao.queryObject(id);
    }


    public List<MallGoodsIssueEntity> queryList(Map<String, Object> map) {
        return goodsIssueDao.queryList(map);
    }


    public int queryTotal(Map<String, Object> map) {
        return goodsIssueDao.queryTotal(map);
    }


    public void save(MallGoodsIssueEntity goods) {
        goodsIssueDao.save(goods);
    }


    public void update(MallGoodsIssueEntity goods) {
        goodsIssueDao.update(goods);
    }


    public void delete(Integer id) {
        goodsIssueDao.delete(id);
    }


    public void deleteBatch(Integer[] ids) {
        goodsIssueDao.deleteBatch(ids);
    }
}
